package cn.lisens.modules.sys.controller;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.lisens.common.dict.DictScanner;
import cn.lisens.common.dict.model.DictType;
import cn.lisens.modules.sys.model.User;


@Controller
@RequestMapping("/dictType")
public class DictTypeController {
	@Autowired
	DictScanner dictScanner;
	
	@RequestMapping("/listData")
	@ResponseBody
	public List<DictType> listData(DictType dictType) {
		return dictScanner.getDictTypeList();
	}
}
